<!-- 设备巡检记录 -->

<template>
  <WebTable path="inspection" auto>
    <RowIndex />

    <RowTime label="巡检时间" bind="handleTime" width="auto" />

    <RowText label="负责人" bind="handleUserName" :width="120" />

    <RowStatus label="巡检结果" bind="resultStatus" />

    <RowText label="情况描述" bind="resultDesc" :minWidth="200" />

    <RowImage label="巡检图片" bind="fileList" pathKey="fileUrl" :width="120" />

    <RowOperate :btns="['show']" :onShow="(row) => windowDetail(row.planTaskId)" :width="120" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import mixDetailToTable from '@admin/components/detail/mixDetailToTable'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'DeviceInspection',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixDetailToTable('', 'DetailTask')],
}
</script>
